import request from '@/utils/request'
/**
 * GET /admin/product/baseTrademark/getTrademarkList 获取品牌分类列表
 */
export const reqGetTrademarkList = ()=>{
    return request.get("/admin/product/baseTrademark/getTrademarkList")
}
/**
 * GET /admin/product/baseTrademark/{page}/{limit}  获取品牌分类列表分页
 */
export const reqGetTrademarkListPage = (page,limit)=>{
    return request.get(`/admin/product/baseTrademark/${page}/${limit}`)
}
/**
 * POST /admin/product/baseTrademark/save  新增品牌分类
 */
export const reqAddTrademark = (info) =>{
    return request.post("/admin/product/baseTrademark/save",info)
}
/**
 *  PUT /admin/product/baseTrademark/update   修改品牌分类
 */
export const reqUpdataTradmark = (info) =>{
    return request.put("/admin/product/baseTrademark/update",info)
}
/**
 * DELETE /admin/product/baseTrademark/remove/{id}
删除BaseTrademark
 */
export const reqDeleteTradmark = (id)=>{
    return request.delete(`/admin/product/baseTrademark/remove/${id}`)
}